#ifndef MCOUNTER_H
#define MCOUNTER_H

#include <QGraphicsWidget>

class MCounter : public QGraphicsWidget
{
    Q_OBJECT
public:
    explicit MCounter(QGraphicsItem *parent = 0);
    void setNumber(int r);

protected:
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
    
signals:
    
public slots:

private:

    int rest;
    
};

#endif // MCOUNTER_H
